package com.itserver.pojo.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Menu {
    private Integer id;
    private String menuName;
    private String icon;
    private String menuType;
    private Integer parentId;
    private String path;
    private String component;
    private Integer isFrame;
    private Integer menuSort;
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private Integer visible;
    private String perms;
    private String query;
    private Integer isCache;
    private String remark;
}
